<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#box{
				width: 200px;
				height: 100px;
				opacity: 0.5;
				background-color: skyblue;
			}
		</style>
	</head>
	<body>
		<div id="box"></div>
	</body>
	<script src="JS/myAnimation2.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		window.onload = function(){
			var box = document.getElementById('box')
			box.onmouseover = function(){
				trans(box,{"width":400,"height":200,"opacity":100})
			}
			box.onmouseout = function(){
				trans(box,{"width":200,"height":100,"opacity":50})
			}
		}
	</script>
</html>
